<html>
<head>
	
	<?php require_once('include.php')?>

    <?php

    	 if ($current_user_id = get_instance()->session->userdata('current_user')){
		get_instance()->load->model('users/User');
		$current_user = get_instance()->User->getUserByID($current_user_id);
		$current_user->updateTimeStamp();
	}?>
    
</head>
<body>
<div id="header-wrapper">
    <div id="header">
    	<?php get_instance()->load->view('templates/site_name') ?>
		<?php if (!isset($no_menu)) echo $this->load->view('templates/menu'); ?>
    </div>
    
</div>
<div id="content-wrapper">
<div id="content">